using Core.Domain.Entities;
using FluentNHibernate.Mapping;

namespace DataMain.Mappings
{
  public class TellerMap : ClassMap<Teller>
  {
    public TellerMap()
    {
      Id(x => x.Id);
      Map(x => x.ShortName);
      Map(x => x.FullName);
      References(x => x.WorkingAtLocation);
    }
  }
}